/*
 * 
 */
package w83b.w83bManager;

import java.util.ArrayList;
import java.util.HashMap;

import w83b.w83bBeans.W83bPreavisosBean;

// TODO: Auto-generated Javadoc
/**
 * The Interface W83bIPreavisos.
 */
public interface W83bIPreavisos {
	
	/**
	 * Calcular num preaviso.
	 *
	 * @param param the param
	 * @return the hash map
	 * @throws Exception the exception
	 */
	public HashMap calcularNumPreaviso(W83bPreavisosBean param) throws Exception;

	/**
	 * Buscar preavisos.
	 *
	 * @param param the param
	 * @return the java.util. list
	 * @throws Exception the exception
	 */
	public java.util.List buscarPreavisos (w83b.w83bBeans.W83bPreavisosBean param) throws Exception;
	
	/**
	 * Adjuntar archivo preavisos.
	 *
	 * @param param the param
	 * @return the java.lang. string
	 * @throws Exception the exception
	 */
	public java.lang.String adjuntarArchivoPreavisos (java.util.HashMap param) throws Exception;
	
	/**
	 * Carga tipos documento.
	 *
	 * @param param the param
	 * @return the java.util. list
	 * @throws Exception the exception
	 */
	public java.util.List cargaTiposDocumento (java.util.HashMap param) throws Exception;
	
	/**
	 * Comprobar n preaviso.
	 *
	 * @param param the param
	 * @return the java.util. list
	 * @throws Exception the exception
	 */
	public java.util.List comprobarNPreaviso (java.util.HashMap param) throws Exception;
	
	/**
	 * Borrar preavisos.
	 *
	 * @param param the param
	 * @return the java.lang. string
	 * @throws Exception the exception
	 */
	public java.lang.String borrarPreavisos (java.util.List param) throws Exception;
	
	/**
	 * Obtener detalles preaviso.
	 *
	 * @param param the param
	 * @return the w83b.w83b beans. w83b preavisos bean
	 * @throws Exception the exception
	 */
	public w83b.w83bBeans.W83bPreavisosBean obtenerDetallesPreaviso (java.util.HashMap param) throws Exception;
	
	/**
	 * Anyadir preavisos.
	 *
	 * @param param the param
	 * @return the string
	 * @throws Exception the exception
	 */
	public HashMap anyadirPreavisos (w83b.w83bBeans.W83bPreavisosBean  param) throws Exception;
	
	/**
	 * Insertar docs preavisos.
	 *
	 * @param param the param
	 * @throws Exception the exception
	 */
	public void insertarDocsPreavisos (w83b.w83bBeans.W83bPreavisosBean  param) throws Exception;
	
	/**
	 * Anyadir promotores.
	 *
	 * @param param the param
	 * @throws Exception the exception
	 */
	public void anyadirPromotores (w83b.w83bBeans.W83bPreavisosBean  param) throws Exception;
	
	/**
	 * Anyadir historial tramitacion.
	 *
	 * @param param the param
	 * @throws Exception the exception
	 */
	public void anyadirHistorialTramitacion (w83b.w83bBeans.W83bPreavisosBean  param,String fase, String tramite,String fechaRegistro) throws Exception;
	
	/**
	 * Insertar preaviso original.
	 *
	 * @param param the param
	 * @throws Exception the exception
	 */
	public void insertarPreavisoOriginal (w83b.w83bBeans.W83bPreavisosBean  param) throws Exception;
	
	/**
	 * Edicion preavisos.
	 *
	 * @param param the param
	 * @return the java.lang. string
	 * @throws Exception the exception
	 */
	public java.lang.String edicionPreavisos (w83b.w83bBeans.W83bPreavisosBean  param) throws Exception;
	
	/**
	 * Descargar documento.
	 *
	 * @param param the param
	 * @return the w83b.w83b beans. w83b doc bean
	 * @throws Exception the exception
	 */
	public w83b.w83bBeans.W83bDocBean descargarDocumento (java.lang.String param) throws Exception;
	
	/**
	 * Existe centro preaviso.
	 *
	 * @param param the param
	 * @return the java.util. list
	 * @throws Exception the exception
	 */
	public java.util.List existeCentroPreaviso (java.util.HashMap param) throws Exception;
	
	/**
	 * Existe otro centro preaviso sin fecha eleccion.
	 *
	 * @param param the param
	 * @return the java.util. list
	 * @throws Exception the exception
	 */
	public java.util.List existeOtroCentroPreavisoSinFechaEleccion (java.util.HashMap param) throws Exception;
	
	public java.util.List validarIntervaloEleccionSindicalCtoTrabajo (java.util.HashMap param) throws Exception;

   /**
    * Actualiza la información de acuse de recibo de una comunicación de preavisos
    * @param listaComunicacionesAcuse List
    * @throws Exception the exception
    */
	public void  actualizarDatosAcusesComunicacionPreavisos(ArrayList listaComunicacionesAcuse) throws Exception;
}
